Package pl.wendigo.chrome.api.debugger

Contains DevTools Protocol Debugger domain implementation accessible via DebuggerDomain class.

Types

BreakLocation
Link copied to clipboard
data class BreakLocation(scriptId: ScriptId, lineNumber: Int, columnNumber: Int?, type: String?)
BreakpointId
Link copied to clipboard
typealias BreakpointId = String

Breakpoint identifier.

BreakpointResolvedEvent
Link copied to clipboard
data class BreakpointResolvedEvent(breakpointId: BreakpointId, location: Location) : Event
Fired when breakpoint is resolved to an actual script and location.
CallFrame
Link copied to clipboard
data class CallFrame(callFrameId: CallFrameId, functionName: String, functionLocation: Location?, location: Location, url: String, scopeChain: List<Scope>, _this: RemoteObject, returnValue: RemoteObject?)
JavaScript call frame.
CallFrameId
Link copied to clipboard
typealias CallFrameId = String

Call frame identifier.

ContinueToLocationRequest
Link copied to clipboard
data class ContinueToLocationRequest(location: Location, targetCallFrames: String?)
Represents request frame that can be used with Debugger#continueToLocation operation call.
DebuggerDomain
Link copied to clipboard
class DebuggerDomain : Domain
Debugger domain exposes JavaScript debugging capabilities.
DebugSymbols
Link copied to clipboard
data class DebugSymbols(type: String, externalURL: String?)
Debug symbols available for a wasm script.
EnableRequest
Link copied to clipboard
data class EnableRequest(maxScriptsCacheSize: Double?)
Represents request frame that can be used with Debugger#enable operation call.
EnableResponse
Link copied to clipboard
data class EnableResponse(debuggerId: UniqueDebuggerId)
Represents response frame that is returned from Debugger#enable operation call.
EvaluateOnCallFrameRequest
Link copied to clipboard
data class EvaluateOnCallFrameRequest(callFrameId: CallFrameId, expression: String, objectGroup: String?, includeCommandLineAPI: Boolean?, silent: Boolean?, returnByValue: Boolean?, generatePreview: Boolean?, throwOnSideEffect: Boolean?, timeout: TimeDelta?)
Represents request frame that can be used with Debugger#evaluateOnCallFrame operation call.
EvaluateOnCallFrameResponse
Link copied to clipboard
data class EvaluateOnCallFrameResponse(result: RemoteObject, exceptionDetails: ExceptionDetails?)
Represents response frame that is returned from Debugger#evaluateOnCallFrame operation call.
GetPossibleBreakpointsRequest
Link copied to clipboard
data class GetPossibleBreakpointsRequest(start: Location, end: Location?, restrictToFunction: Boolean?)
Represents request frame that can be used with Debugger#getPossibleBreakpoints operation call.
GetPossibleBreakpointsResponse
Link copied to clipboard
data class GetPossibleBreakpointsResponse(locations: List<BreakLocation>)
Represents response frame that is returned from Debugger#getPossibleBreakpoints operation call.
GetScriptSourceRequest
Link copied to clipboard
data class GetScriptSourceRequest(scriptId: ScriptId)
Represents request frame that can be used with Debugger#getScriptSource operation call.
GetScriptSourceResponse
Link copied to clipboard
data class GetScriptSourceResponse(scriptSource: String, bytecode: String?)
Represents response frame that is returned from Debugger#getScriptSource operation call.
GetStackTraceRequest
Link copied to clipboard
data class GetStackTraceRequest(stackTraceId: StackTraceId)
Represents request frame that can be used with Debugger#getStackTrace operation call.
GetStackTraceResponse
Link copied to clipboard
data class GetStackTraceResponse(stackTrace: StackTrace)
Represents response frame that is returned from Debugger#getStackTrace operation call.
GetWasmBytecodeRequest
Link copied to clipboard
data class GetWasmBytecodeRequest(scriptId: ScriptId)
Represents request frame that can be used with Debugger#getWasmBytecode operation call.
GetWasmBytecodeResponse
Link copied to clipboard
data class GetWasmBytecodeResponse(bytecode: String)
Represents response frame that is returned from Debugger#getWasmBytecode operation call.
Location
Link copied to clipboard
data class Location(scriptId: ScriptId, lineNumber: Int, columnNumber: Int?)
Location in the source code.
LocationRange
Link copied to clipboard
data class LocationRange(scriptId: ScriptId, start: ScriptPosition, end: ScriptPosition)
Location range within one script.
PausedEvent
Link copied to clipboard
data class PausedEvent(callFrames: List<CallFrame>, reason: String, data: JsonElement?, hitBreakpoints: List<String>?, asyncStackTrace: StackTrace?, asyncStackTraceId: StackTraceId?, asyncCallStackTraceId: StackTraceId?) : Event
Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
PauseOnAsyncCallRequest
Link copied to clipboard
data class PauseOnAsyncCallRequest(parentStackTraceId: StackTraceId)
Represents request frame that can be used with Debugger#pauseOnAsyncCall operation call.
RemoveBreakpointRequest
Link copied to clipboard
data class RemoveBreakpointRequest(breakpointId: BreakpointId)
Represents request frame that can be used with Debugger#removeBreakpoint operation call.
RestartFrameRequest
Link copied to clipboard
data class RestartFrameRequest(callFrameId: CallFrameId)
Represents request frame that can be used with Debugger#restartFrame operation call.
RestartFrameResponse
Link copied to clipboard
data class RestartFrameResponse(callFrames: List<CallFrame>, asyncStackTrace: StackTrace?, asyncStackTraceId: StackTraceId?)
Represents response frame that is returned from Debugger#restartFrame operation call.
ResumeRequest
Link copied to clipboard
data class ResumeRequest(terminateOnResume: Boolean?)
Represents request frame that can be used with Debugger#resume operation call.
Scope
Link copied to clipboard
data class Scope(type: String, _object: RemoteObject, name: String?, startLocation: Location?, endLocation: Location?)
Scope description.
ScriptFailedToParseEvent
Link copied to clipboard
data class ScriptFailedToParseEvent(scriptId: ScriptId, url: String, startLine: Int, startColumn: Int, endLine: Int, endColumn: Int, executionContextId: ExecutionContextId, hash: String, executionContextAuxData: JsonElement?, sourceMapURL: String?, hasSourceURL: Boolean?, isModule: Boolean?, length: Int?, stackTrace: StackTrace?, codeOffset: Int?, scriptLanguage: ScriptLanguage?, embedderName: String?) : Event
Fired when virtual machine fails to parse the script.
ScriptLanguage
Link copied to clipboard
enum ScriptLanguage : Enum<ScriptLanguage>
Enum of possible script languages.
ScriptParsedEvent
Link copied to clipboard
data class ScriptParsedEvent(scriptId: ScriptId, url: String, startLine: Int, startColumn: Int, endLine: Int, endColumn: Int, executionContextId: ExecutionContextId, hash: String, executionContextAuxData: JsonElement?, isLiveEdit: Boolean?, sourceMapURL: String?, hasSourceURL: Boolean?, isModule: Boolean?, length: Int?, stackTrace: StackTrace?, codeOffset: Int?, scriptLanguage: ScriptLanguage?, debugSymbols: DebugSymbols?, embedderName: String?) : Event
Fired when virtual machine parses script.
ScriptPosition
Link copied to clipboard
data class ScriptPosition(lineNumber: Int, columnNumber: Int)
Location in the source code.
SearchInContentRequest
Link copied to clipboard
data class SearchInContentRequest(scriptId: ScriptId, query: String, caseSensitive: Boolean?, isRegex: Boolean?)
Represents request frame that can be used with Debugger#searchInContent operation call.
SearchInContentResponse
Link copied to clipboard
data class SearchInContentResponse(result: List<SearchMatch>)
Represents response frame that is returned from Debugger#searchInContent operation call.
SearchMatch
Link copied to clipboard
data class SearchMatch(lineNumber: Double, lineContent: String)
Search match for resource.
SetAsyncCallStackDepthRequest
Link copied to clipboard
data class SetAsyncCallStackDepthRequest(maxDepth: Int)
Represents request frame that can be used with Debugger#setAsyncCallStackDepth operation call.
SetBlackboxedRangesRequest
Link copied to clipboard
data class SetBlackboxedRangesRequest(scriptId: ScriptId, positions: List<ScriptPosition>)
Represents request frame that can be used with Debugger#setBlackboxedRanges operation call.
SetBlackboxPatternsRequest
Link copied to clipboard
data class SetBlackboxPatternsRequest(patterns: List<String>)
Represents request frame that can be used with Debugger#setBlackboxPatterns operation call.
SetBreakpointByUrlRequest
Link copied to clipboard
data class SetBreakpointByUrlRequest(lineNumber: Int, url: String?, urlRegex: String?, scriptHash: String?, columnNumber: Int?, condition: String?)
Represents request frame that can be used with Debugger#setBreakpointByUrl operation call.
SetBreakpointByUrlResponse
Link copied to clipboard
data class SetBreakpointByUrlResponse(breakpointId: BreakpointId, locations: List<Location>)
Represents response frame that is returned from Debugger#setBreakpointByUrl operation call.
SetBreakpointOnFunctionCallRequest
Link copied to clipboard
data class SetBreakpointOnFunctionCallRequest(objectId: RemoteObjectId, condition: String?)
Represents request frame that can be used with Debugger#setBreakpointOnFunctionCall operation call.
SetBreakpointOnFunctionCallResponse
Link copied to clipboard
data class SetBreakpointOnFunctionCallResponse(breakpointId: BreakpointId)
Represents response frame that is returned from Debugger#setBreakpointOnFunctionCall operation call.
SetBreakpointRequest
Link copied to clipboard
data class SetBreakpointRequest(location: Location, condition: String?)
Represents request frame that can be used with Debugger#setBreakpoint operation call.
SetBreakpointResponse
Link copied to clipboard
data class SetBreakpointResponse(breakpointId: BreakpointId, actualLocation: Location)
Represents response frame that is returned from Debugger#setBreakpoint operation call.
SetBreakpointsActiveRequest
Link copied to clipboard
data class SetBreakpointsActiveRequest(active: Boolean)
Represents request frame that can be used with Debugger#setBreakpointsActive operation call.
SetInstrumentationBreakpointRequest
Link copied to clipboard
data class SetInstrumentationBreakpointRequest(instrumentation: String)
Represents request frame that can be used with Debugger#setInstrumentationBreakpoint operation call.
SetInstrumentationBreakpointResponse
Link copied to clipboard
data class SetInstrumentationBreakpointResponse(breakpointId: BreakpointId)
Represents response frame that is returned from Debugger#setInstrumentationBreakpoint operation call.
SetPauseOnExceptionsRequest
Link copied to clipboard
data class SetPauseOnExceptionsRequest(state: String)
Represents request frame that can be used with Debugger#setPauseOnExceptions operation call.
SetReturnValueRequest
Link copied to clipboard
data class SetReturnValueRequest(newValue: CallArgument)
Represents request frame that can be used with Debugger#setReturnValue operation call.
SetScriptSourceRequest
Link copied to clipboard
data class SetScriptSourceRequest(scriptId: ScriptId, scriptSource: String, dryRun: Boolean?)
Represents request frame that can be used with Debugger#setScriptSource operation call.
SetScriptSourceResponse
Link copied to clipboard
data class SetScriptSourceResponse(callFrames: List<CallFrame>?, stackChanged: Boolean?, asyncStackTrace: StackTrace?, asyncStackTraceId: StackTraceId?, exceptionDetails: ExceptionDetails?)
Represents response frame that is returned from Debugger#setScriptSource operation call.
SetSkipAllPausesRequest
Link copied to clipboard
data class SetSkipAllPausesRequest(skip: Boolean)
Represents request frame that can be used with Debugger#setSkipAllPauses operation call.
SetVariableValueRequest
Link copied to clipboard
data class SetVariableValueRequest(scopeNumber: Int, variableName: String, newValue: CallArgument, callFrameId: CallFrameId)
Represents request frame that can be used with Debugger#setVariableValue operation call.
StepIntoRequest
Link copied to clipboard
data class StepIntoRequest(breakOnAsyncCall: Boolean?, skipList: List<LocationRange>?)
Represents request frame that can be used with Debugger#stepInto operation call.
StepOverRequest
Link copied to clipboard
data class StepOverRequest(skipList: List<LocationRange>?)
Represents request frame that can be used with Debugger#stepOver operation call.